<template>
  <!-- 模型预览页面 -->
  <base-breadcrumb class="bimPreview-container">
    <model-detail :model-list="modelList" />
  </base-breadcrumb>
</template>

<script>
import ModelDetail from '@/components/BimIntegrate/index.vue'
export default {
  name: 'BimPreview',
  components: {
    ModelDetail
  },
  data() {
    return {
      modelList: []
    }
  },
  created() {
    this.initPage()
  },
  methods: {
    initPage() {
      try {
        const { modelList } = this.$route.query
        this.modelList = JSON.parse(modelList)
      } catch (e) {}
    }
  }
}
</script>

<style>
</style>